package cn.edu.ctbu.lab.dao;

import cn.edu.ctbu.lab.domain.Student;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StudentRepository extends JpaRepository<Student,Integer> {
    List<Student> findByNoAndPassword(String name, String password);
}
